import { createRouter, createWebHistory } from 'vue-router'

const routes = [
    {
        path: '/',
        name: 'movecar',
        component: () => import('../views/MoveCar.vue'),
        meta: { title: '移动端首页' }
    },
    {
        path: '/register',

        name: 'register',
        component: () => import('../views/Regist.vue'),
        meta: { title: '注册' }
    }, {
        path: '/login',
        name: 'login',
        component: () => import('../views/Login.vue'),
        meta: { title: '登录' }
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes,
})
export default router;